package appconfig

type MysqlConfig struct {
	User     string
	Password string
	Host     string
	Port     string
	DbName   string
}

type ConsulConfig struct {
	ConsulHost string
	ConsulPort string
	Tags       []string
}

type NaCosConfig struct {
	Host        string
	Port        int64
	GrpcPort    int64
	NameSpaceId string
	DataId      string
	Group       string
}

type Rocketmq struct {
	Host        string
	Port        int64
	RebackTopic string
	RebackGroup string
	DelayTopic  string
	DelayGroup  string
}

type AppConfig struct {
	MysqlConfig  MysqlConfig
	ConsulConfig ConsulConfig
	Name         string
	Ip           string
	Port         int
	NaCosConfig  NaCosConfig
	Rocketmq     Rocketmq
}
